package cn.hp.domain;

import java.util.Date;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
//@Setter
//@Getter
//@ToString
@NoArgsConstructor
@AllArgsConstructor
@Data
public class Student {

	//@Setter
	//@Getter
	private Integer id;
	private String name;
	private String address;
	private String sex;
	private Date birth;
	private double money;
	
	public static void main(String[] args) {
		Student student = new Student(1,"zhangsan","henan","nan",new Date(),8.8);
		student.setName("lisi");
		System.out.println(student);
	}
	
	
}
